import request from '@/utils/request'

// 订单管理-订单列表
export function goodsCateLists(params?: any) {
    return request.get({ url: '/goodsCate/lists', params })
}

// 订单管理-订单详情
export function goodsCateDetail(params?: any) {
    return request.get({ url: '/goodsCate/detail', params })
}

// 订单管理-添加订单
export function goodsCateAdd(params: any) {
    return request.post({ url: '/goodsCate/add', params })
}

// 订单管理-修改订单
export function goodsCateEdit(params: any) {
    return request.post({ url: '/goodsCate/edit', params })
}

// 订单管理-删除订单
export function goodsCateDelete(params: any) {
    return request.post({ url: '/goodsCate/delete', params })
}

// 订单管理-恢复订单
export function goodsCateRecover(params: any) {
    return request.post({ url: '/goodsCate/recover', params })
}
